package com.winter.service;



import com.winter.model.Category;

import java.util.List;

public interface CategoryService {
    //添加
    void insertCategory(Category category);
    //查询
    List<Category> queryAll(int pageNum,int pageSize);
    //查询一个类别
    Category queryOne(String id);
}
